package cn.edu.zut.hkxy.mapper;

import cn.edu.zut.hkxy.pojo.Admissions;
import cn.edu.zut.hkxy.pojo.AdmissionsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface AdmissionsMapper {
    long countByExample(AdmissionsExample example);

    int deleteByExample(AdmissionsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Admissions record);

    int insertSelective(Admissions record);

    List<Admissions> selectByExample(AdmissionsExample example);

    Admissions selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Admissions record, @Param("example") AdmissionsExample example);

    int updateByExample(@Param("record") Admissions record, @Param("example") AdmissionsExample example);

    int updateByPrimaryKeySelective(Admissions record);

    int updateByPrimaryKey(Admissions record);
}